package qgs.zisu.javaconcurrency.javaconcurrency;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * @Author: 蔡翔
 * @Date: 2019/9/23 16:28
 * @Version 1.0
 */
//@SpringBootTest(classes = TargetApplication.class)
@RunWith(SpringJUnit4ClassRunner.class)
public class yaliTest {
    // 模拟1000 个用户 并发请求： 1000个线程
    private static final int nums = 1000;


    @Test
    public void testInterface(){
        //线程
        for(int i =0;i<nums ;i++){
            Thread thread = new Thread(()->{

            });
        }
    }
}
